﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MessageSystem.Managed.Interface;
using MessageSystem.Managed.Infrastructure;

namespace MessageSystem.Managed.Http
{
    class MessageChannel : IMessageChannel
    {
        public string Url { get; set; }

        public void Open(IMessageHandler handler)
        {
            m_pHandler = handler;
        }

        public bool Send(IMessage m, ushort nFlags, int nSessionId)
        {
            throw new NotImplementedException();
        }

        public void Close()
        {
            throw new NotImplementedException();
        }

        public bool Dispatch(ushort nFlags, int nMessageId, int nSessionId, NetStream ns, int offset, int length)
        {
            return false;
        }

        private IMessageHandler m_pHandler;
    }
}
